<template>
	<view>
		<pageIndex :myInfo="navList" :banner="require('@/static/image/identify/banner.png')" :img="img"></pageIndex>
	</view>
</template>

<script>
	import {
		navList
	} from '@/mock/index/identify.js';
	import pageIndex from '../../components/pageIndex.vue';
	import {
		Index
	} from '@/api/index.js';
	export default {
		components: {
			pageIndex
		},
		data() {
			return {
				navList,
				img: '',

			};
		},
		methods: {
			async init() {
				const res = await Index.getCover('精准识别')
				console.log('ses', res)
				if (res.data.list.length) {
					this.img = res.data.list[0].img_src
				}
			}
		},
		async onLoad() {
			await this.init()
		}
	}
</script>

<style lang="scss">

</style>
